package com.opennetexam.manager.mapper;

import com.opennetexam.manager.dto.ExamSiteAppViewModel;
import com.opennetexam.manager.sqlprovider.ExamSiteAppViewModelProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

/**
 * @author 奶茶
 * Created 2017/11/8.
 */
@Mapper
public interface ExamSiteAppViewModelMapper {

    @SelectProvider(type = ExamSiteAppViewModelProvider.class,method = "getCurrentSiteApp")
    ExamSiteAppViewModel getCurrentSiteApp(@Param(value = "siteId")String siteId);

}
